Cavern

 Cavern4D

 Cavernize

 Debug

 FilterInterfaces

 Filters

  Utilities

  Allpass

  Bandpass

  BandpassFlat

  BiquadFilter

  a1

  a2

  b0

  b1

  b2

  BiquadFilter(int, double, double, double)

  centerFreq

  CenterFreq

  gain

  Gain

  Process(float[], int, int)

  q

  Q

  Reset(double, double, double)

  sampleRate

  x1

  x2

  y1

  y2

  Cavernize

  Comb

  ComplexFilter

  Convolver

  Crossover

  DebugCrossover

  Delay

  DualConvolver

  Echo

  FastConvolver

  Filter

  FilterExtensions

  Gain

  Highpass

  HighShelf

  Lowpass

  LowShelf

  Normalizer

  Notch

  PeakingEQ

  PhaseShifter

  SpikeConvolver

  ThreadSafeFastConvolver

 Format

 Helpers

 QuickEQ

 Remapping

 SpecialSources

 Spoofer

 Utilities

 Virtualizer

 Atmosphere

 AudioClip3D

 AudioListener3D

 AudioListener3DInspector

 AudioSource3D

 CavernizeRealtime

 Channel

 Clip

 Environments

 Jack

 Listener

 QualityModes

 Rolloffs

 SeatAdaptation

 Source

class BiquadFilter

Simple first-order biquad filter.
VisibilityPublic
Modifiersabstract
ExtendsFilter

Public functions

Constructor BiquadFilter(int sampleRate, double centerFreq, double q = QFactor.reference, double gain = 0)Simple first-order biquad filter.
void Process(float[] samples, int channel, int channels)Apply this filter on an array of samples. One filter should be applied to only one continuous stream of samples.
void Reset(double centerFreq, double q = QFactor.reference, double gain = 0)Regenerate the transfer function.

Public properties

float a1Transfer function variable.
float a2Transfer function variable.
float b0Transfer function variable.
float b1Transfer function variable.
float b2Transfer function variable.
double CenterFreqCenter frequency (-3 dB point) of the filter.
double GainGain of the filter in decibels.
double QQ-factor of the filter.

Protected variables

double centerFreqCenter frequency (-3 dB point) of the filter.
double gainGain of the filter in decibels.
double qQ-factor of the filter.
int sampleRateCached sample rate.
float x1History sample.
float x2History sample.
float y1History sample.
float y2History sample.